package cn.itcast.reggie;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;



@Slf4j
//在编译器生成静态成员变量log
//可以利用log中的方法trace info debug warn error  打印日志
@SpringBootApplication
@MapperScan("cn.itcast.reggie.mapper")
@ServletComponentScan
public class ReggieApplication {
    public static void main(String[] args) {
        SpringApplication.run(ReggieApplication.class,args);
    }
}